Skip to content

Don't apply screen flash to players with repeating flashes - #70

Closed
tsdko wants to merge 1 commit into
ynoproject:masterfrom
tsdko:fix-playerother-flicker-on-screen-flash
Closed

Don't apply screen flash to players with repeating flashes#70
tsdko wants to merge 1 commit into
ynoproject:masterfrom
tsdko:fix-playerother-flicker-on-screen-flash

Conversation

@tsdko

@tsdko tsdko commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

This replicates the pre- 9c20341 behavior where screen flashes
(Scene_Map::UpdateStage1 → Game_Map::Update → Game_Screen::Update → … → Game_Screen::FlashOnce)
would immediately get overwritten by repeating flashes
(Scene_Map::UpdateStage1 → Scene_Map::UpdateGraphics → Spriteset_Map::Update).

Fixes PlayerOther flickering in MAP2059 (Sunset Savannah, Yume 2kki) seen during the event triggered by using the Fairy effect.
(save file before triggering the event)
More context: battle animations (such as the one in the event above) trigger a 0-frame screen flash on each frame. This doesn't actually cause the screen to flash but does cancel out any existing screen flash if there's one active.

This replicates the pre-9c203419af behavior where screen flashes
(Scene_Map::UpdateStage1 → Game_Map::Update → Game_Screen::Update → … → Game_Screen::FlashOnce)
would immediately get overwritten by repeating flashes
(Scene_Map::UpdateStage1 → Scene_Map::UpdateGraphics → Spriteset_Map::Update).

Fixes PlayerOther flickering in MAP2059 (Sunset Savannah, Yume
2kki) seen during the event triggered by using the Fairy effect.
@tsdko tsdko closed this Aug 9, 2025
@tsdko
tsdko deleted the fix-playerother-flicker-on-screen-flash branch August 15, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant